import init from '@feidao/web/framework/browser/d/component';

import s from './s';

import { id } from './config';
import * as params from './config';

////////////////////////////////////////////////////////////////////////////////
// import actions
import a000 from './a000';
import a002 from './a002';
import a004 from './a004';
import a005 from './a005';
import a014 from './a014';

////////////////////////////////////////////////////////////////////////////////

const actions = { a000, a002, a004, a005, a014 };

export default function main(url: string, query: any) {
	return init(id, s, actions, url, query, params);
}
